﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Circle : Shape
    {
        public override void GetArea()
        {

            Console.WriteLine("请输入圆的半径");
            int num1 = int.Parse(Console.ReadLine());
            Console.WriteLine("圆的面积为{0}", num1 * num1 * 3.14);
        }

    }
}
